'''
Created on Jul 19, 2010

@author: riche
'''

from ft.framework import component
from ft.directory import localhost

class Translator(component.Implementation):
    '''
    classdocs
    '''
    
    def trans_out(self, msg):
        if(msg[0] == localhost.SERVER_NAME):
            new_msg = (localhost.AGREE0_NAME, msg[1])
        #print('New Msg: ', new_msg)
        self.send_out('net_out', new_msg)

        